package com.battle.service.repository.impl;

import com.battle.pojo.entity.UserOrganizationMp;
import com.battle.service.mapper.UserOrganizationMpMapper;
import com.battle.service.repository.in.UserOrganizationMpRepository;
import lombok.AllArgsConstructor;
import nirvana.core.repository.Repository;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class UserOrganizationMpRepositoryImpl extends Repository<UserOrganizationMpMapper, UserOrganizationMp> implements UserOrganizationMpRepository {
    final UserOrganizationMpMapper userOrganizationMpMapper;

    @Override
    public void batchDelete() {
        userOrganizationMpMapper.deleteBatch();
    }
}
